package github.kawaiior.botapiserver.entity;

import com.baomidou.mybatisplus.annotation.TableField;

public class Ip {
    private int id;
    @TableField(value = "group_id")
    private String groupId;
    @TableField(value = "bot_id")
    private String botId;
    @TableField(value = "user_id")
    private String userId;
    private String ip;

    public Ip(int id, String groupId, String botId, String userId, String ip) {
        this.id = id;
        this.groupId = groupId;
        this.botId = botId;
        this.userId = userId;
        this.ip = ip;
    }

    public Ip(String groupId, String botId, String userId, String ip) {
        this.groupId = groupId;
        this.botId = botId;
        this.userId = userId;
        this.ip = ip;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getBotId() {
        return botId;
    }

    public void setBotId(String botId) {
        this.botId = botId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }
}
